import Layout from '@/layout'

const demandsRouter = {



    path: '/demands',
    component: Layout,
    redirect: 'noRedirect',
    name: 'NewDemands',
    meta: {
        title: '最新一期的报表清单',
        icon: 'component'
    },
    children: [
        {
            path: 'inventoryTurnover',
            component: () => import('@/views/new-demands/inventoryTurnover'),
            name: 'InventoryTurnover',
            meta: { title: '存货周转率' }
        },

        {
            path: 'timelyDeliveryInspectionRate',
            component: () => import('@/views/new-demands/timelyDeliveryInspectionRate'),
            name: 'TimelyDeliveryInspectionRate',
            meta: { title: '出货检验及时率' }
        },
        {
            path: 'timelyRateOfProductionPicking',
            component: () => import('@/views/new-demands/timelyRateOfProductionPicking'),
            name: 'TimelyRateOfProductionPicking',
            meta: { title: '生产领料及时率' }
        },
        {
            path: 'timeLimitOfApprovalForHandlingOfIncomingDefectiveProducts',
            component: () => import('@/views/new-demands/timeLimitOfApprovalForHandlingOfIncomingDefectiveProducts'),
            name: 'TimeLimitOfApprovalForHandlingOfIncomingDefectiveProducts',
            meta: { title: '来料不良品处理单审批时效' }
        },
        {
            path: 'approvalTimeLimitOfRedInkMaterialRequisition',
            component: () => import('@/views/new-demands/approvalTimeLimitOfRedInkMaterialRequisition'),
            name: 'ApprovalTimeLimitOfRedInkMaterialRequisition',
            meta: { title: '红字领料单审批时效' }
        },
        {
            path: 'approvalTimeLimitOfScrapMaterialSupplement',
            component: () => import('@/views/new-demands/approvalTimeLimitOfScrapMaterialSupplement'),
            name: 'ApprovalTimeLimitOfScrapMaterialSupplement',
            meta: { title: '报废补料单审批时效' }
        },
        {
            path: 'deliveryTimelyRate',
            component: () => import('@/views/new-demands/deliveryTimelyRate'),
            name: 'DeliveryTimelyRate',
            meta: { title: '出库及时率' }
        },
        {
            path: 'timeLimitForInspectionOfIncomingMaterials',
            component: () => import('@/views/new-demands/timeLimitForInspectionOfIncomingMaterials'),
            name: 'TimeLimitForInspectionOfIncomingMaterials',
            meta: { title: '来料请检时效' }
        },
        {
            path: 'timelinessOfSalesInvoiceApplication',
            component: () => import('@/views/new-demands/timelinessOfSalesInvoiceApplication'),
            name: 'TimelinessOfSalesInvoiceApplication',
            meta: { title: '销售发票申请及时性' }
        },
        {
            path: 'materialPurchaseCost',
            component: () => import('@/views/new-demands/materialPurchaseCost'),
            name: 'MaterialPurchaseCost',
            meta: { title: '物料采购成本额' }
        },
        {
            path: 'BOMCalculationTimeliness',
            component: () => import('@/views/new-demands/BOMCalculationTimeliness'),
            name: 'BOMCalculationTimeliness',
            meta: { title: 'BOM运算及时率' }
        }
    ]
}
export default demandsRouter